<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>共享充电宝价格配置</title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
  #parse('/headFiles.html')
</head>
<body>
<div class="layui-fluid">
  <div class="layui-card">
    <div class="layui-card-header">当前收费模版</div>
    <div class="layui-card-body layui-form" wid120>
      <input type="hidden" name="placeId" value="$!{placeId}"/>
      #if($id)
      <div class="layui-row">
        <div class="layui-col-sm4">
          <div class="layui-form-item">
            <label class="layui-form-label">模版ID</label>
            <div class="layui-input-block">
              <div class="layui-form-mid layui-word-aux">$!{id}</div>
            </div>
          </div>
        </div>
        <div class="layui-col-sm4">
          <div class="layui-form-item">
            <label class="layui-form-label">模版标题</label>
            <div class="layui-input-block">
              <div class="layui-form-mid layui-word-aux">$!{title}</div>
            </div>
          </div>
        </div>
        <div class="layui-col-sm4">
          <div class="layui-form-item">
            <label class="layui-form-label">所属代理</label>
            <div class="layui-input-block">
              <div class="layui-form-mid layui-word-aux">$!{userName}(ID:$!{userId})</div>
            </div>
          </div>
        </div>
      </div>
      #else
      <div class="layui-form-item">
        <label class="layui-form-label">收费模版</label>
        <div class="layui-input-block">
          <div class="layui-form-mid layui-word-aux">全局默认</div>
        </div>
      </div>
      #end
      <div class="layui-row">
        <div class="layui-col-sm3">
          <div class="layui-form-item">
            <label class="layui-form-label">押金</label>
            <div class="layui-input-block">
              <div class="layui-form-mid layui-word-aux">$!{depositMoneyStr}元</div>
            </div>
          </div>
        </div>
        <div class="layui-col-sm3">
          <div class="layui-form-item">
            <label class="layui-form-label">日最大费用</label>
            <div class="layui-input-block">
              <div class="layui-form-mid layui-word-aux">$!{dayMaxMoneyStr}元</div>
            </div>
          </div>
        </div>
        <div class="layui-col-sm3">
          <div class="layui-form-item">
            <label class="layui-form-label">每小时支付</label>
            <div class="layui-input-block">
              <div class="layui-form-mid layui-word-aux">$!{payIntervalMoneyStr}元</div>
            </div>
          </div>
        </div>
        <div class="layui-col-sm3">
          <div class="layui-form-item">
            <label class="layui-form-label">免费时长</label>
            <div class="layui-input-block">
              <div class="layui-form-mid layui-word-aux">$!{freeTimes}分钟</div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div><!-- /layui-card -->
  <div class="layui-card">
    <div class="layui-form layui-card-header layuiadmin-card-header-auto">
      <div class="layui-form-item">
        <div class="layui-inline">
          <label class="layui-form-label">模版ID</label>
          <div class="layui-input-block">
            <input type="text" name="id" placeholder="请输入" autocomplete="off" class="layui-input">
          </div>
        </div>
        <div class="layui-inline">
          <label class="layui-form-label">模版标题</label>
          <div class="layui-input-block">
            <input type="text" name="title" placeholder="请输入" autocomplete="off" class="layui-input">
          </div>
        </div>
        <div class="layui-inline">
          <button class="layui-btn" lay-submit lay-filter="LAY-search">
            <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i>
          </button>
        </div>
      </div>
    </div>
    <div class="layui-card-body">
      <table id="LAY-table" lay-filter="LAY-table"></table>
      <script type="text/html" id="LAY-table-toolbar">
        <a class="layui-btn layui-btn-xs" lay-event="changeTemplate">切换</a>
      </script>
    </div>
  </div>
</div>
#parse('/footFiles.html')
<script>
layui.config({
  base: '$!{webRoot}/layuiadmin/'
  ,webRoot:'$!{webRoot}'
  ,resDomain:'$!{resDomain}'
}).extend({
  index: 'lib/index'
  ,bxscn_place_cost_index:'bxscn/bxscn_place_cost_index'
}).use(['index', 'bxscn_place_cost_index'])
</script>
</body>
</html>